<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta charset="utf-8">
<title>作业管理系统</title>
<style>
#log {
	width: 960px;
	height: 90px;
	background:#0C0
}
body{
	 bgcolor:#FFFFFF;
}
.zhengwen{
	width: 960px;
	height: 700px;
	background:#0FF;
}
</style>
</head>

<body>
<center>
<div id="log"><font size="24px" color="#fff"><B>欢迎使用作业管理系统</B></font></div>
<div class="zhengwen" align="center">
<s:form action="login" method="post" theme="simple">
<table width="100%" border="0">
  <tr>
    <th width="100%" height="80px" align="center"><font style="font-family:Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif" size="+2" color="#00CC00">LOGIN</font></th>
  </tr>
  </table>
<table width="100%" border="0">
  <tr>
    <th width="50%" align="right">姓&nbsp;&nbsp;&nbsp;&nbsp;名：</th>
    <td width="50%" align="left"><s:textfield name="login.userName" size="15"/></td>
  </tr>
  <tr>
    <th width="50%" align="right">密&nbsp;&nbsp;&nbsp;&nbsp;码：</th>
    <td width="50%"><s:password name="login.userPassword" size="15"/></td>
  </tr>
  <tr>
    <td width="50%" align="right"><s:submit value="登录"/></td>
    <td width="50%" align="left"><s:reset value="重置"/></td>
  </tr>
  </table>
 <!-- 验证失败信息或错误信息在这里显示 -->

 <table>
	<tr>
		<td width="100%" align="center">
		<font color="red"><s:fielderror/><s:property value="message"/></font>
		</td>
	</tr>
</table>
</s:form>

</div>
<div class="content_nav" align="center">	
	版权所有--托普学院--互联网一班</div>
</center>
</body>
</html>
